package com.qf.userinformationsystem.mapper;

import com.qf.userinformationsystem.pojo.LoginAndRegister;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LoginAndRegisterMapper {
    //检查账号密码是否匹配
    List<LoginAndRegister> checkLogin(String account, String password);

    //检查账号是否存在
    List<LoginAndRegister> checkAccount(String account);

    //注册账号
    int insert(String account,String password,String confirmPassword);
}
